/**
 * api文件
 * @Author: yd_renyuanyu
 * @Date: 2021-11-12 10:48:10
 * @Version: 1.0.0
 */
import request from '@/lib/request';

/* ********** TextTemplateContents ********** */
/**
 * --
 * @tips TextTemplateContents
 * @tags [TextTemplateContents]
 * @param { object } aDataQuery 参数 [Api_GET_TemplateContentsQO]
  */
export function api_GET_TemplateContents (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/text-template-management/template-contents',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * --
 * @tips TextTemplateContents
 * @tags [TextTemplateContents]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.TextTemplateManagement.TextTemplates.UpdateTemplateContentInput]
  */
export function api_PUT_TemplateContents (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/text-template-management/template-contents',
    method: 'put',
    data: aDataBody
  });
}
/**
 * --
 * @tips TextTemplateContents
 * @tags [TextTemplateContents]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.TextTemplateManagement.TextTemplates.RestoreTemplateContentInput]
  */
export function api_PUT_TemplateContentsRestoreToDefault (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/text-template-management/template-contents/restore-to-default',
    method: 'put',
    data: aDataBody
  });
}
/* ********** TextTemplateDefinitions ********** */
/**
 * --
 * @tips TextTemplateDefinitions
 * @tags [TextTemplateDefinitions]
 * @param { object } aDataQuery 参数 [Api_GET_TemplateDefinitionsQO]
  */
export function api_GET_TemplateDefinitions (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/text-template-management/template-definitions',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * --
 * @tips TextTemplateDefinitions
 * @tags [TextTemplateDefinitions]
 * @param {string} name
  */
export function api_GET_TemplateDefinitionsName (name) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/text-template-management/template-definitions/${name}`,
    method: 'get'
  });
}
